<?php

class controlpanel_controller extends abstract_controller_secure {

function prepare_model($request_params, Smarty $smarty_obj) { 
		if($_SESSION['admin'] != true) {
			echo "Du er ikke admin, fysj!";
			exit;
		}
		$smarty_obj->assign("page_title", "Kontrollpanel");
	}

}
?>